package com.kintreda.ieco_server.bean.order;

import com.kintreda.ieco_server.bean.system.BaseVo;
import com.kintreda.ieco_server.util.DateUtil;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Created by IntelliJ IDEA
 * @Project_Name ieco_server
 * @Package com.kintreda.ieco_server.bean.order
 * @Author ZhongYao_H
 * @Date 2019/5/18:18:24
 * @Year 2019 Month 05 Day 18
 * @Date_zh 2019 年 五月 星期六
 */
@Entity
@Table(name = "wxpayorder")
public class PayOrder extends BaseVo {

    private String orderId = new Date().getTime()+ DateUtil.getDate(DateUtil.YYYYMMDDHHMMSS);//订单号
    private String total;//总金额
    private String body;//商品描述

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }
}
